package com.summer.bilibili.service;

import com.summer.bilibili.domain.user.UserReport;
import com.summer.bilibili.dto.UserReportDto;
import org.springframework.lang.Nullable;

public interface UserReportService extends BaseService<UserReport> {
    /**
     * 当前用户对目标的举报
     */
    @Nullable
    UserReport getByTargetId( Long targetId);
    /**
     * 创建举报,会先删除旧的
     */
    void createOne( UserReportDto dto);
}
